package org.jeecg.modules.aglmachinedispatch.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 农机调度表
 * @Author: jeecg-boot
 * @Date:   2023-09-12
 * @Version: V1.0
 */
@Data
@TableName("agricultural_machinery_dispatch")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="agricultural_machinery_dispatch对象", description="农机调度表")
public class AgriculturalMachineryDispatch implements Serializable {
    private static final long serialVersionUID = 1L;

	/**农机调度编号*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "农机调度编号")
    private Integer id;
	/**标题*/
	@Excel(name = "标题", width = 15)
    @ApiModelProperty(value = "标题")
    private String title;
	/**农机图片*/
	@Excel(name = "农机图片", width = 15)
    @ApiModelProperty(value = "农机图片")
    private String machinePicture;
	/**农机id*/
	@Excel(name = "农机id", width = 15)
    @ApiModelProperty(value = "农机id")
    private Integer machineId;
	/**工作效率*/
	@Excel(name = "工作效率", width = 15)
    @ApiModelProperty(value = "工作效率")
    private String workEfficiency;
	/**服务范围*/
	@Excel(name = "服务范围", width = 15)
    @ApiModelProperty(value = "服务范围")
    private String serviceRange;
	/**最低起租时间*/
	@Excel(name = "最低起租时间", width = 15)
    @ApiModelProperty(value = "最低起租时间")
    private String minimumTime;
	/**农机马力（匹）*/
	@Excel(name = "农机马力（匹）", width = 15)
    @ApiModelProperty(value = "农机马力（匹）")
    private String horsePower;
	/**农机(经销商)位置*/
	@Excel(name = "农机(经销商)位置", width = 15)
    @ApiModelProperty(value = "农机(经销商)位置")
    private String machineAddress;
	/**评分*/
	@Excel(name = "评分", width = 15)
    @ApiModelProperty(value = "评分")
    private String score;
	/**是否认证经销商(0已认证、1未认证)*/
	@Excel(name = "是否认证经销商(0已认证、1未认证)", width = 15)
    @ApiModelProperty(value = "是否认证经销商(0已认证、1未认证)")
    private Integer isAuthenticate;
	/**价格*/
	@Excel(name = "价格", width = 15)
    @ApiModelProperty(value = "价格")
    private BigDecimal price;
	/**农机负责人*/
	@Excel(name = "农机负责人", width = 15)
    @ApiModelProperty(value = "农机负责人")
    private Integer userId;
	/**是否调度完成(0已完成、1未完成)*/
	@Excel(name = "是否调度完成(0已完成、1未完成)", width = 15)
    @ApiModelProperty(value = "是否调度完成(0已完成、1未完成)")
    private Integer status;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
	/**订单编号*/
	@Excel(name = "订单编号", width = 15)
    @ApiModelProperty(value = "订单编号")
    private Integer orderId;
	/**下单时间*/
	@Excel(name = "下单时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "下单时间")
    private Date startTime;
	/**完成时间*/
	@Excel(name = "完成时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "完成时间")
    private Date overTime;
}
